You are here: Symbol Reference > Dew Namespace > Dew.Math Namespace > Classes > TOpenCLVector Class > TOpenCLVector Methods > Ramp Method > TOpenCLVector.Ramp Method ([In] double, [In] double, int, int)
Dew Math for .NET
ContentsIndexHome
PreviousUpNext
TOpenCLVector.Ramp Method ([In] double, [In] double, int, int)

Fills the calling vector elements [Index]..[Index+Len-1].

Syntax
C#
Visual Basic
public TOpenCLVector Ramp([In] double Offset, [In] double Step, int Index, int Len);

Method uses the following rule: 

 

Values[k] := Offset + k*Step.

 

If the calling vector is complex, only the real part is set. An exception is raised if calling vector array borders are overrun.

Copyright (c) 1999-2024 by Dew Research. All rights reserved.
What do you think about this topic? Send feedback!